import React, { Component } from "react";
import EVCSItem from './EVCSItem';
function EVCSMod() {
    return class extends React.Component {
      componentDidMount(nextProps) {
        console.log('Current props: ', this.props);
        console.log('Next props: ', nextProps);
      }
      render() {
        // 用容器组件组合包裹组件且不修改包裹组件，这才是正确的打开方式。
        return <EVCSItem {...this.props} />;
      }
    }
}

export default EVCSMod;